from django.shortcuts import render
from django.views import View


def login(request):
    return render(request, 'user/login.html')


class RegisterView(View):
    """
    注册视图
    """
    def get(self, request):
        return render(request, 'user/register.html')

